﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 药品频率
    /// </summary>
    public partial class MzysTbYpyf
    {
        public int Id { get; set; }
        /// <summary>
        /// 用法流水号
        /// </summary>
        public short Yflsh { get; set; }
        /// <summary>
        /// 用法编码
        /// </summary>
        public string Yfbm { get; set; } = null!;
        /// <summary>
        /// 用法名称
        /// </summary>
        public string Yfmc { get; set; } = null!;
        /// <summary>
        /// 输入码
        /// </summary>
        public string? Srm1 { get; set; }
        /// <summary>
        /// 输入码
        /// </summary>
        public string? Srm2 { get; set; }
        /// <summary>
        /// 门诊执行天数
        /// </summary>
        public string? Mzzxts { get; set; }
        /// <summary>
        /// 用法类型
        /// </summary>
        public short Yflx { get; set; }
        /// <summary>
        /// 执行次数
        /// </summary>
        public short Yfcs { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public short Yfdw { get; set; }
        /// <summary>
        /// 执行时间
        /// </summary>
        public string? Mrsj { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Zt { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public short Cjr { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Cjsj { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public short? Xgr { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Xgsj { get; set; }
        public byte[] Sjc { get; set; } = null!;
        /// <summary>
        /// 序号
        /// </summary>
        public decimal? Sxh { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalCode { get; set; }
    }
}
